package com.zhouyx.userservice.config;

import com.zhouyx.userservice.entity.Item;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @title: ItemConfig
 * @Author: max.zhou1
 * @Date: 2024/9/19 11:09
 * @Version: 1.0
 **/
@Configuration
public class ItemConfig {
    @Bean
    @ConfigurationProperties(prefix = "item")
    public Item item() {
        return new Item();
    }
}
